package com.sgq.vue.entity.resource;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: 83778
 * @date: 2023-12-26 0:36
 * @desc:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("resource_weather_api")
public class WeatherApi implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String apiName;

    private String website;

    private String apiImg;

    private String appUrl;

    //启用状态
    private Integer state;

    //相当于key
    private String appIdKey;
    //相当于value
    private String appIdValue;

    private String appSecretKey;

    private String appSecretValue;
    //以哪个名字作为查询key
    private String conditionKey;
    //以哪种类型作为查询的类型（cityEn,cityZh,cityId,coordinate）
    private String conditionType;

    private Long belongs;

    private String remark;

}
